tarxf http://www.busybox.net/downloads/ busybox-1.18.4 .tar.bz2

cp $K/busybox.stage0.config .config
patch -p1 <$K/busybox.patch
make CFLAGS_busybox="-Wl,-z,muldefs" HOSTCC=gcc CC=$R/bin/musl-gcc
cp busybox $R/bin
cd $R/bin
for f in $(./busybox --list); do
  ln -sf busybox $f
done
